package com.wn.class30.service;

import com.wn.class30.entity.Myorder;
import com.wn.class30.entity.User;
import com.wn.class30.entity.UserAddress;

import java.util.List;
import java.util.Map;

public interface OrderService {
    List<Myorder> selectOrders(Map<String,String> map)throws Exception;
    Long getOrderCount(Map<String,String> map)throws Exception;
    User selectUserById(Integer uid)throws Exception;
    UserAddress selectUserAddressBy(Integer userAddressId)throws Exception;
    public List<Myorder> queryOrderByUserId(Integer userid)throws Exception;
    void deleteOrderByOid(Integer oid)throws Exception;
}
